﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Plane : Vehicle, IFlyable
    {
        public void Fly()
        {
            Console.WriteLine("飞机飞行中——————");
        }

        public void Land()
        {
            Console.WriteLine("飞机降停");
        }

        public void TakeOff()
        {
            Console.WriteLine("飞机准备起飞");
        }
        public void CarryPassange() 
        {
            Console.WriteLine("乘客下机。");
        }
        public void Print() 
        {
            TakeOff();
            Fly();
            Land();
            CarryPassange();
        }
    }
}
